package com.loveprogrammer.factory.template;

import lombok.Data;

/**
 * @version 1.0.0
 * @description: 装备的模板类
 * @author: eric
 * @date: 2024-02-23 10:33
 **/
@Data
public class EquipmentTemplate extends GoodsTemplate {

    private String strength;                  // 力量 影响物理输出 物理技能输出
    private String armature;                 // 护甲值 影响物理防御和法术防御
    private String constitution;               // 体质 影响生命值 一点体质增加10点生命值
    private String magic;                       // 魔力 影响法术输出 法术技能输出
    private String technique;                   // 技巧 影响闪避率、暴击率
    private String speed;                         // 攻击速度

    private String hp;                            // 生命值

    private String evasion;

    private String fortune;

    private int weaponType;

    private int suitId;

    // 毒抗
    private String poisonResistance;

    // 火抗
    private String flameResistance;

    // 电抗
    private String thunderResistance;

    // 冰抗
    private String iceResistance;

    // 特殊效果
    private String effects;

    @Override
    public String toString() {
        return "EquipmentTemplate{" +
                "id='" + getId() + '\'' +
                ", name='" + getName() + '\'' +
                ", type='" + getType() + '\'' +
                ", level=" + getLevel() +
                ", desc='" + getDesc() + '\'' +
                ", strength=" + strength +
                ", armature=" + armature +
                ", constitution=" + constitution +
                ", magic=" + magic +
                ", technique=" + technique +
                ", speed=" + speed +
                ", hp=" + hp +
                ", evasion='" + evasion + '\'' +
                ", fortune='" + fortune + '\'' +
                ", weaponType=" + weaponType +
                '}';
    }
}
